cmake_minimum_required(VERSION 2.6)

set(project_name test)
AUX_SOURCE_DIRECTORY(. SRC_LIST)


include_directories(
    ${CMAKE_SOURCE_DIR}/jansson
    )
LINK_DIRECTORIES(
    ${CMAKE_BINARY_DIR}/jansson
    )
SET(EXECUTABLE_OUTPUT_PATH ../../bin)
add_executable(${project_name} ${SRC_LIST})
target_link_libraries(${project_name} curl)
target_link_libraries(${project_name} jansson)
target_link_libraries(${project_name} protobuf)
